package cn.tataben.sharding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;

@SpringBootApplication
@MapperScan(basePackages = "cn.tataben.sharding.mappers")
@PropertySources({
	@PropertySource("classpath:druid.properties"),
	@PropertySource("classpath:sharding.properties")
})
public class App {

	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}

}